from django.db import models
from myconstants import MyConstants

class Portal(models.Model):
    status_id = models.SmallIntegerField(choices = MyConstants.STATUS_CHOICES, default = MyConstants.STATUS_APPROVED)
    name = models.CharField(max_length = 128)
    url = models.URLField()

    def __unicode__(self):
        return self.name
